﻿@model GameSite.Models.RegisterModel
@using (Html.BeginForm())
{
    <h2>注册</h2>
    @Html.AntiForgeryToken()
    <div class="control-group">
        @Html.ValidationSummary()
    </div>
    <div class="login-form">
        <div class="control-group">
            @Html.TextBoxFor(m => m.UserName, new { placeholder = "Enter your name", @class = "login-field" })
            <label class="login-field-icon fui-man-16" for="login-name">
            </label>
        </div>
        <div class="control-group">
            @Html.PasswordFor(m => m.Password, new { placeholder = "Password", @class = "login-field" })
            <label class="login-field-icon fui-lock-16" for="login-pass">
            </label>
        </div>
        <div class="control-group">
            @Html.PasswordFor(m => m.ConfirmPassword, new { placeholder = "Confirm Password", @class = "login-field" })
            <label class="login-field-icon fui-lock-16" for="login-pass">
            </label>
        </div>
        <input type="submit" class="btn btn-primary btn-large btn-block" value="注 册" />
        <a href="@Url.Action("Login", "Account")" class="login-link">登陆</a>
    </div>
}
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
